﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace Authorization
{
    [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall, ConcurrencyMode = ConcurrencyMode.Multiple, Namespace = "http://authorizationservices/v1")]
    class AuthorizationSynchronizeService : IAuthorizationSynchronizeService
    {
        #region IAuthorizationSynchronizeService Members

        /// <summary>
        /// Realiza a atualizacao do cache local.
        /// Jose Mauro - Rerum 27/05/2011 IM120338
        /// </summary>
        ///<returns></returns>
        public void UpdateCache()
        {
            AuthorizationStoreManager.UpdateCache();
        }

        #endregion
    }
}
